package com.fecean.aabbc.commons.exception;

/**
 * 异常类接口，所有自定义异常应实现该接口
 * @see {@link EasyException}
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2019-12-06 14:55
 * @blame Android Team
 */
public interface IException{

    /**
     * 获取异常编码
     * @return {@link String}
     * @author chenfenghai
     * @date 2019-12-06 15:31
     */
    String getCode();

    /**
     * 获取异常信息
     * @return {@link String}
     * @author chenfenghai
     * @date 2019-12-06 15:31
     */
    String getMessage();

    /**
     * 获取异常堆栈
     * @return {@link String}
     * @author chenfenghai
     * @date 2019-12-06 15:31
     */
    String getTrace();
}
